#include <stdio.h>

int main() {
	float y = 0.0f;
	y = 1 + 1.0 / (1 + 1.0 / (1 + 1.0 / 5));
	printf("%f", y);

	return 0;
}